<!DOCTYPE html>

<html>



<head>

    <meta charset="UTF-8">

    <title>后台登陆</title>

    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">

    <link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />

    <link href="__PUBLIC__/dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />

    <link href="__PUBLIC__/plugins/iCheck/square/blue.css" rel="stylesheet" type="text/css" />

    <style>

    #imgVerify {

        width: 120px;

        margin: 0 auto;

        text-align: center;

        display: block;

    }

    </style>

</head>



<body class="login-page">

    <div class="login-box ma_t_cm">

        <?php if(isset($message)) {?>



        <div class="login-box-body">

            <h4 class="login-box-msg ver_cm"><span class="glyphicon glyphicon-ok ver_cm"></span> <?php echo($message); ?></h4>

            <a href="javascript:;">页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b></a>

            <br />

            <br />

            <a href="/" target="_parent">网站前台</a>

            <a href="/index.php?m=Admin&c=Index&a=index" target="_parent">管理员后台</a>

        </div>



        <?php }else{?>



        <div class="login-box-body">

            <h4 class="login-box-msg ver_cm"><span class="glyphicon glyphicon-remove ver_cm"></span> <?php echo($error); ?></h4>

            <a href="javascript:;">页面自动 <a id="href" href="<?php echo($jumpUrl); ?>">跳转</a> 等待时间： <b id="wait"><?php echo($waitSecond); ?></b></a>

            <br />

            <br />

            <a href="/" target="_parent">网站前台</a>

            <a href="/index.php?m=Admin&c=Index&a=index" target="_parent">管理员后台</a>

        </div>

        <?php }?>

        <div class="margin text-center">



        </div>

    </div>



    <script type="text/javascript">

    (function() {

        var wait = document.getElementById('wait'),

            href = document.getElementById('href').href;

        var interval = setInterval(function() {

            var time = --wait.innerHTML;

            if (time <= 0) {

                location.href = href;

                clearInterval(interval);

            };

        }, 1000);

    })();

    </script>

</body>



</html>

